package com.longma.server.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 新增告警处理单
 */
@Data
public class AlarmProcessAddDTO {
    @NotNull(message="告警id不能为空")
    @ApiModelProperty(value = "告警id")
    private Integer alarmRecordId;

    @ApiModelProperty(value = "故障名称")
    private String name;

    @ApiModelProperty(value = "故障现象")
    private String phenomenon;

    @ApiModelProperty(value = "问题描述")
    private String description;

    @ApiModelProperty(value = "处理方法")
    private String solveMethod;

    @ApiModelProperty(value = "图片")
    private String pic;
}
